home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 1992 August / info-mac-1992.iso / Applications (app) / Earth Plot / ep.DoEditMenu.c < prev    next >
C/C++ Source or Header  |  1987-08-15  |  402b  |  27 lines

  1. #include "ep.const.h"
  2. #include "ep.extern.h"
  3. #include "DialogMgr.h"
  4.  
  5. DoEditMenu (item)
  6. int        item;
  7. {
  8. long    result;
  9.  
  10.     switch (item) { 
  11.     case 3: /* Cut */
  12.     case 4: /* Copy */
  13.         ZeroScrap();
  14.         HLock(ePict);
  15.         result = PutScrap(GetHandleSize(ePict),'PICT',*ePict);
  16.         HUnlock(ePict);
  17.         result = UnloadScrap();
  18.          break;
  19.      case 6: /* clear */
  20.          ZeroScrap();
  21.          break;
  22.      default:
  23.          SysBeep(3);
  24.          break;
  25.     }
  26. }
  27.